package com.zr.vo;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author: peterChen
 * @date: 2019/11/15 10:22
 * @description: com.zr.vo
 * @version: 1.0
 */
@Data
public class StaffVO {
    private Long id;
    /**
     * 姓名
     */
    private String name;
    /**
     * 工号
     */
    private String jobNumber;
    /**
     * 入职时间
     */
    private Date entryTime;
    /**
     * 性别: 男 /  女
     */
    private Integer sex;
    /**
     * lob工号
     */
    private String lobJobNumber;
    /**
     * 事业部 ：是 / 否
     */
    private Integer businessDept;
    /**
     * 交付部 ：是 / 否
     */
    private Integer deliveryDept;
    /**
     * 级别
     */
    private Integer level;
    /**
     * 年龄
     */
    private Integer age;
    /**
     * 毕业日期
     */
    private Date graduationDate;
    /**
     * 学历
     */
    private String educationalBkg;
    /**
     * 手机号
     */
    private String phoneNumber;
    /**
     * 紧急联系人
     */
    private String emergencyContact;
    /**
     * 紧急联系电话
     */
    private String emergencyPhoneNumber;
    /**
     * 身份证号
     */
    private String identificationNum;
    /**
     * 工作年限
     */
    private Integer workYear;
    /**
     * 住址
     */
    private String address;

    /**
     * 是否审批通过  同意 ，拒绝
     */
    private Integer status;

    private String mark;

    private String userEmail;

    private List<StaffFileVO> staffFiles;

    public StaffVO() {
    }

    public StaffVO(Long id, String name, String jobNumber, Date entryTime, Integer sex, String lobJobNumber, Integer businessDept, Integer deliveryDept, Integer level, Integer age, Date graduationDate, String educationalBkg, String phoneNumber, String emergencyContact, String emergencyPhoneNumber, String identificationNum, Integer workYear, String address, Integer status, String mark, String userEmail) {
        this.id = id;
        this.name = name;
        this.jobNumber = jobNumber;
        this.entryTime = entryTime;
        this.sex = sex;
        this.lobJobNumber = lobJobNumber;
        this.businessDept = businessDept;
        this.deliveryDept = deliveryDept;
        this.level = level;
        this.age = age;
        this.graduationDate = graduationDate;
        this.educationalBkg = educationalBkg;
        this.phoneNumber = phoneNumber;
        this.emergencyContact = emergencyContact;
        this.emergencyPhoneNumber = emergencyPhoneNumber;
        this.identificationNum = identificationNum;
        this.workYear = workYear;
        this.address = address;
        this.status = status;
        this.mark = mark;
        this.userEmail = userEmail;
    }

    public StaffVO(String name, String jobNumber, Date entryTime, Integer sex, String lobJobNumber, Integer businessDept, Integer deliveryDept, Integer level, Integer age, Date graduationDate, String educationalBkg, String phoneNumber, String emergencyContact, String emergencyPhoneNumber, String identificationNum, Integer workYear, String address, String mark, String userEmail) {
        this.name = name;
        this.jobNumber = jobNumber;
        this.entryTime = entryTime;
        this.sex = sex;
        this.lobJobNumber = lobJobNumber;
        this.businessDept = businessDept;
        this.deliveryDept = deliveryDept;
        this.level = level;
        this.age = age;
        this.graduationDate = graduationDate;
        this.educationalBkg = educationalBkg;
        this.phoneNumber = phoneNumber;
        this.emergencyContact = emergencyContact;
        this.emergencyPhoneNumber = emergencyPhoneNumber;
        this.identificationNum = identificationNum;
        this.workYear = workYear;
        this.address = address;
        this.mark = mark;
        this.userEmail = userEmail;
    }

    public StaffVO(String name, String jobNumber, Date entryTime, Integer sex, String lobJobNumber, Integer businessDept, Integer deliveryDept, Integer level, Integer age, Date graduationDate, String educationalBkg, String phoneNumber, String emergencyContact, String emergencyPhoneNumber, String identificationNum, Integer workYear, String address, String mark, String userEmail, List<StaffFileVO> staffFiles) {
        this.name = name;
        this.jobNumber = jobNumber;
        this.entryTime = entryTime;
        this.sex = sex;
        this.lobJobNumber = lobJobNumber;
        this.businessDept = businessDept;
        this.deliveryDept = deliveryDept;
        this.level = level;
        this.age = age;
        this.graduationDate = graduationDate;
        this.educationalBkg = educationalBkg;
        this.phoneNumber = phoneNumber;
        this.emergencyContact = emergencyContact;
        this.emergencyPhoneNumber = emergencyPhoneNumber;
        this.identificationNum = identificationNum;
        this.workYear = workYear;
        this.address = address;
        this.mark = mark;
        this.userEmail = userEmail;
        this.staffFiles = staffFiles;
    }
}
